﻿using System.Net;

namespace Toybox.NicoSharp
{
	using Utilities;

	/// <summary>
	/// Network状態
	/// </summary>
	public static class NetworkState
	{

		#region Constructor

		static NetworkState()
		{
			UserAgent = "NicoSharp UserAgent";
		}

		#endregion Constructor

		/// <summary>
		/// DLL内で使用する標準クッキー
		/// </summary>
		public static CookieCollection Cookies { get; set; }

		/// <summary>
		/// DLL内で使用する UserAgent
		/// </summary>
		public static string UserAgent
		{
			get { return NicoWebClient.UserAgent; }
			set { NicoWebClient.UserAgent = value; }
		}
	}
}